Import
Usage
Return Type: UseSwapModalReturnType
The hook returns an object with the following properties:
Properties
openSwapModal
(settings: SwapModalSettings) => void
Function to open the Swap modal with the specified settings.
Parameters:
The settings object can include the following properties:
closeSwapModal
() => void
Function to close the Swap modal.
swapModalSettings
SwapModalSettings | undefined
The current settings configuration for the Swap modal.